package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chq
 * @since 2023-08-23
 */
@Data
@Getter
@Setter
@ApiModel(value = "Figlaccdocentryzjb对象", description = "")
public class Figlaccdocentryzjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String accdocid;

    private String accentrycode;

    private String accorgid;

    private String acctitlecode;

    private String acctitleid;

    private String acctgtype;

    private String amount;

    private String bizdate;

    private String currencyid;

    private String endentry;

    private String exchangerate;

    private String externalcol;

    private String foreigncurrency;

    private String isaccountcheck;

    private String ledger;

    private String lendingdirection;

    private String modelitem;

    private String oppositeacctitle;

    private String oppositeacctitleflag;

    private String quantity;

    private String readonly;

    private String refentryid;

    private String settlement;

    private String settlementnumber;

    private String startentry;

    private String timestampCreatedby;

    private String timestampCreatedon;

    private String timestampLastchangedby;

    private String timestampLastchangedon;

    private String unitprice;

    private String year;

    private String abstract1;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ACCDOCID;ACCENTRYCODE;ACCORGID;ACCTITLECODE;ACCTITLEID;ACCTGTYPE;AMOUNT;BIZDATE;CURRENCYID;ENDENTRY;EXCHANGERATE;EXTERNALCOL;FOREIGNCURRENCY;ISACCOUNTCHECK;LEDGER;LENDINGDIRECTION;MODELITEM;OPPOSITEACCTITLE;OPPOSITEACCTITLEFLAG;QUANTITY;READONLY;REFENTRYID;SETTLEMENT;SETTLEMENTNUMBER;STARTENTRY;TIMESTAMP_CREATEDBY;TIMESTAMP_CREATEDON;TIMESTAMP_LASTCHANGEDBY;TIMESTAMP_LASTCHANGEDON;UNITPRICE;YEAR;ABSTRACT1".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","accdocid","accentrycode","accorgid","acctitlecode","acctitleid","acctgtype","amount","bizdate","currencyid","endentry","exchangerate","externalcol","foreigncurrency","isaccountcheck","ledger","lendingdirection","modelitem","oppositeacctitle","oppositeacctitleflag","quantity","readonly","refentryid","settlement","settlementnumber","startentry","timestampCreatedby","timestampCreatedon","timestampLastchangedby","timestampLastchangedon","unitprice","year","abstract1"};
    }

}
